<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<jsp:useBean id="pojo" class="com.wang.users.pojo.AUsers"/>
<c:set value="${requestScope.usersResponse.data.one }" var="one"/>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<title>修改个人信息 - 体能测试系统</title>
		<%@ include file="/head/common/include/title.jsp"%>
	</head>
	<body>
		<%@ include file="/head/common/include/header.jsp" %>
		<!-- 网页的主体 -->
		<div class="container">
			<div class="col-md-8 col-sm-3">
				<form id="form" method="post" class="form-horizontal" action="${rootPath }/head/one/oneUpdateSubmit.htm">
					<input type="hidden" name="operType" value="${param.operType }">
					<h2 class="col-sm-10 col-sm-offset-1 form-signin-heading text-center"">查看个人信息</h2>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">邮箱</label>
						<div class="col-sm-8">
							${one.email }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">真实姓名</label>
						<div class="col-sm-8">
							${one.trueName }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">手机</label>
						<div class="col-sm-8">
							${one.phone }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">qq</label>
						<div class="col-sm-8">
							${one.qq }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">身份证</label>
						<div class="col-sm-8">
							${one.idnumber }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">生日</label>
						<div class="col-sm-8">
							${one.birthday }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">年级</label>
						<div class="col-sm-8">
							${one.grade }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">学号</label>
						<div class="col-sm-8">
							${one.numb }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">年龄</label>
						<div class="col-sm-8">
							${one.age }
						</div>
					</div>
					<div class="form-group row">
						<label for="email" class="col-sm-3 control-label">性别</label>
						<div class="col-sm-8">
							${one.sexStr }
						</div>
					</div>
					<div class="form-group row">
						<label for="inputPassword" class="col-sm-3 control-label">创建时间</label>
						<div class="col-sm-8">
							${one.createTime}
						</div>
					</div>
					<div class="form-group row">
						<label for="inputPassword" class="col-sm-3 control-label">更新时间</label>
						<div class="col-sm-8">
							${one.updateTime}
						</div>
					</div>
					<div class="form-group row">
						<label for="inputPassword" class="col-sm-3 control-label">上次登陆时间</label>
						<div class="col-sm-8">
							${one.lastLoginTime}
						</div>
					</div>
					<div class="form-group row">
						<label for="pubTimeStr" class="col-sm-3 control-label">头像:</label>
						<div class="col-sm-8">
							<c:choose>
								<c:when test="${one.headportrait != null && one.headportrait != '' }">
									<img alt="" src="${websiteFileUrl }${one.headportrait}" width="150" height="150">
								</c:when>
								<c:otherwise>
									<img alt="" src="${rootPath }/images/no_pic.png" width="100" height="80">
								</c:otherwise>
							</c:choose>
						</div> 
					</div>
				</form>
			</div>
		</div>
		<%@ include file="/head/common/include/footer.jsp"%>
	</body>
</html>